package com.metacube.questionbank.jdbc;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.metacube.questionbank.dto.TagDTO;

public class TagRowMapper implements RowMapper<TagDTO> {

	@Override
	public TagDTO mapRow(ResultSet res, int line) throws SQLException {
		
		TagExtractor tagExtractor = new TagExtractor();
		
		return tagExtractor.extractData(res);

	}
}
